﻿using System;
using System.Linq;
using System.Web;
using Iesi.Collections.Generic;
using DotNet.NH.Models;

namespace PerformanceSystem2.Models
{
    /// <summary>
    /// 部门
    /// </summary>
    public class Department : EntityBase
    {
        /// <summary>
        /// 名称
        /// </summary>
        public virtual string Name { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public virtual Status Status { get; set; }

        /// <summary>
        /// 上级部门
        /// </summary>
        public virtual Department Super { get; set; }

        /// <summary>
        /// 部门员工
        /// </summary>
        ISet<UserInfo> UserInfos { get; set; }
    }
}